<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

<h1 style="text-align: center">注册</h1>
<div style="margin: 0 auto;width: 400px">
    <form action="/app01/register/" method="post">
        {% csrf_token %}
        {% for field in form %}
            <div class="form-group">
            <lable for="{{ field.id_for_label }}">{{ field.label }}</lable>
            {{ field }}
            </div>
        {% endfor %}
        <input type="submit" value="提交">



    </form>
</div>

</body>
</html>